package com.ruoyi.crm.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author mr.huang [jie88888822@163.com]
 * @devTime 2022-06-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "business_recorddb")
public class MongoBusinessRecordVO implements Serializable {

	private static final long serialVersionUID = 283719874783731751L;

	@Id
	@Field("_id")
	private String id;

	private Long businessId;
	private String createBy;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	private String keyItems;
	private ArrayList<String> keys;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	private Date nextTime;
	private String record;
	private String trackStatus;
}
